package cn.mazexal.exambg.dataware;

import cn.mazexal.exambg.models.db.QuestionTagDO;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
*   Mapper
*
*/
@Mapper
public interface QuestionTagMapper extends BaseMapper<QuestionTagDO> {


    List<QuestionTagDO> selectByQuestionIds(@Param("questionIds") List<Long> questionIds,@Param("examBankId") Long examBankId);

    void deleteByQuestionId(@Param("questionId") Long questionId,@Param("examBankId") Long examBankId);
}